<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
	<title>模块化设计</title>
	<style type="text/css">
	* {
		padding: 0;
		margin: 0;
	}
</style>
</head>
<body>
<button>后盾人</button>
<div id="container" class="container">
	<h1>模块化设计</h1>
	<div class="box">
		<button message="后盾人">button</button>
		<button message="hdcms">button</button>
	</div>
</div>
<script>
if (true) {	
	var p = import("./modules/hd.js") ;
	console.log(p)
	console.log(p instanceof Promise, typeof p )
}
p.then(({site, action, user}) => {
	console.log(site, action, user)
}).catch(reason => {
	console.log(reason)
})

</script>
<!-- <script src="index.js"></script> -->
<script type="text/javascript">

</script>
</body>
</html>